<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>系统提示</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<link href="__IMG__/touch-icon.png" rel="apple-touch-icon-precomposed" />
<link href="__IMG__/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="__CSS__/ectouch.css" rel="stylesheet" type="text/css" />
    <script>
        var time = {$time|default=-1};
        if(time==0){
            window.location.href="{$info.url}";
        }else if(time>0){
            jump(time);
        }else{
            console.log("不自动跳转");
        }
        function jump(count){
            setTimeout(function(){
                count --;
                if(count >0){
                    console.log("count="+count);
                    jump(count);
                }else{
                    location.href="{$info.url}";
                }

            },1000);
        }
    </script>
</head>

<body>
<div id="page">
  <header id="header">
    <div class="header_l"> <a class="ico_10" onClick="javascript:history.back();"> 返回 </a> </div>
    <h1> 提示消息 </h1>
    <div class="header_r"></div>
  </header>
</div>
<div class="blank3"></div>
<section class="wrap" style="padding-bottom:5rem">
  <ul class="radius10 itemlist">
    <div style="margin:1rem auto; text-align:center">
      <p style="font-size:0.8rem; font-weight:bold; color: red;">{$info['msg']}</p>
      <div class="blank"></div>
	  <p class="info">
	  <if condition="$info['url']">
		  <a href="{$info['url']}">跳转</a>
	  <else/>
		  <a href="javascript:history.back();">跳转</a>
	  </if>
          <a href="/">首页</a>
	  </p>
    </div>
  </ul>
</section>
</body>
</html>
